class UserObserver < ActiveRecord::Observer
  def after_create(user)
    user.toggle! :sent if UserNotifier.deliver_signup_notification user
  end

  def after_save(user)
    UserNotifier.deliver_activation user if false
  end
end
